//
//  ThorProgressLayer.h
//  WKWebDemo
//
//  Created by yangpenghua on 2018/3/27.
//  Copyright © 2018年 linzi. All rights reserved.
//

#import <QuartzCore/QuartzCore.h>
#import <UIKit/UIKit.h>

@interface ThorProgressLayer : CAShapeLayer

/** 进度条颜色 */
@property (nonatomic, strong) UIColor *progressColor;

/** 初始化进度条 */
+ (instancetype)layerWithFrame:(CGRect)frame progressColor:(UIColor *)progressColor;

/** 开始加载 */
- (void)startLoad;
/** 结束加载 */
- (void)finishedLoad;

/** 关闭定时器 */
- (void)closeTimer;

@end
